<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sb" uri="/struts-bootstrap-tags"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<html>
<head>
<title>Login Application</title>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<link rel="StyleSheet" href="css/bootstrap.min.css" type="text/css">
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
<sb:head />
</head>
<body>
	<div class="panel panel-primary">
		<div class="panel-heading">Login page</div>
		<div class="panel-body">
			<s:actionerror theme="bootstrap" />
			<s:actionmessage theme="bootstrap" />
			<s:fielderror theme="bootstrap" />
			<s:form action="login.action" method="post" theme="bootstrap"
				cssClass="form-horizontal">
				<s:textfield name="username" key="label.username" size="8"
					tooltip="Enter your Name here" />
				<s:password name="passwd" key="label.password" size="8"
					tooltip="Enter your Password here" />
				<s:submit method="execute" key="label.login" align="center"
					cssClass="btn btn-warning" />
			</s:form>
		</div>
	</div>
</body>
</html>